API Documentation
Public Member Functions | Public Attributes | List of all members
nkGraphics::ConfigHolder Class Reference

Holds all the information about a configuration. More...

Public Member Functions

 ConfigHolder ()
 
 ~ConfigHolder ()
 
nkMemory::StringView graphicDescription ()
 
nkMemory::StringView renderDescription ()
 

Public Attributes

WindowDescriptor _window
 A description of the main window.
 
RenderDescriptor _rendering
 A description of the rendering settings.
 
RENDERING_API _wantedApi
 Wanted API for rendering.
 
RENDERING_API _chosenApi
 Chosen API while initializing, given hardware and system constraints.
 

Detailed Description

Holds all the information about a configuration.

The configuration API is quite young and holds only basic situations.

Constructor & Destructor Documentation

◆ ConfigHolder()

nkGraphics::ConfigHolder::ConfigHolder ( )

Constructor.

◆ ~ConfigHolder()

nkGraphics::ConfigHolder::~ConfigHolder ( )

Destructor.

Member Function Documentation

◆ graphicDescription()

nkMemory::StringView nkGraphics::ConfigHolder::graphicDescription ( )
Returns
The description, pretty printed.

◆ renderDescription()

nkMemory::StringView nkGraphics::ConfigHolder::renderDescription ( )
Returns
The description, pretty printed.

The documentation for this class was generated from the following file: